package com.todo.sight.application.service;

import com.todo.sight.application.entity.bo.PoiTypeRelationBO;

import java.util.List;

/**
 * (PoiTypeRelation)表服务接口
 *
 * @author zhangwenxiang
 * @since 2024-03-04 00:19:48
 */
public interface PoiTypeRelationService {

    /**
     * 新增Poi关联列表
     *
     * @param poiTypeRelationBO
     * @return
     */
    Boolean insertPoiTypeRelation(PoiTypeRelationBO poiTypeRelationBO);

    /**
     * 根据主键删除数据
     *
     * @param id
     * @return
     */
    Boolean removePoiTypeRelationById(Long id);

    /**
     * 根据poi查询数据列表
     *
     * @param poiId
     * @return
     */
    List<PoiTypeRelationBO> queryPoiTypeRelationByPoiId(Long poiId);

    /**
     * 根据业务Id查询数据列表
     *
     * @param businessId
     * @return
     */
    List<PoiTypeRelationBO> queryPoiTypeRelationByBizId(Long businessId);
}
